<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>词多多代理商平台</title>
    <include file="Index:header"/>
    <script type="text/javascript">
        $(function(){
            $(".help-side dl dd:eq(1)").addClass('cur');
        })
        $(function(){
            $("#top #topcon .nav li:eq(4)").addClass('cur');
        })
    </script>
    <script src="__PUBLIC__/js/main.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body>
    <include file="Index:top"/>
    <div id="main">
    <include file="Setting:left"/>
        <div id="main_right" class="container">
            <div class="title">客户类型设置</div>
            <div id="infotab" class="container mt10">
                <ul class="tb cl">
                    <li class="a">
                        <a href="{:U('setting_client')}">客户类型</a>
                    </li>
                    <li>
                        <a href="{:U('client_add')}">添加类型</a>
                    </li>
                </ul>
                <div id="proxyinfo" class="p10">
                    <table class="table" cellpadding=5>

                        <tr style="border-bottom: 2px solid #eee;">
                            <th width="15%">客户类型</th>
                            <th width="15%">开户收费金额(元)</th>
                            <th width="10%">操作</th>
                        </tr>

                        <volist name="arr" id="vo">
                            <tr>
                                <td>{$vo['name']}</td>
                                <td style="padding-left:40px;">{$vo['money']}</td>
                                <td>
                                    <div class="menubox">
                                        <div class="mainmenu">
                                            <div class="category">
                                            <if condition="$vo['proxyid'] neq 0">
                                                <span class="tit">操作选项</span>
                                                <ul class="submenu">
                                                    <li>
                                                        <a href="javascript:void(0);" onclick="save({$vo['id']});">
                                                            <span class='ico ico_application_edit'></span>
                                                            修 改
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a href="javascript:void(0);" onclick="del('__URL__/client_del',{$vo['id']})">
                                                            <span class='ico ico_cross'></span>
                                                            删 除
                                                        </a>
                                                    </li>
                                                </ul>
                                            <else/>
                                                <span class="tit">系统默认</span>
                                            </if>
                                            </div>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            </volist>
                    </table>

                </div>
            </div>
        </div>
    </div>
    <include file="Index:footer"/>
    <script type="text/javascript">

        function save(id) {
            art.dialog.open('__URL__/client_save?id='+id, {
                title: '修改客户类型',
                lock: 'true',
                width:510,
                height:210,
                close:function(){
                    parent.location.reload();
                }
            });
        }
        
    </script>
</body>

</html>